home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 11
/
011.d81
/
bit banner
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
3KB
|
101 lines
30 print"[147]"tab(14)"[164][164][164][164][164][164][164][164][164][164][164][164]"
40 printtab(10)"[192][192][192][192] bit banner [146][192][192][192][192]"
50 printtab(10)"by jerry sturdivant"
60 print" [164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164]"
70 print" .........................."
80 print" [166][166][166] [166][166][166][166][166]"
90 print" [166] [166] [166] [166] [166]"
100 print" [166] [166] [166] [166] ^"
110 print" [166][166][166][166][166] [166][166][166][166] symbol"
120 print" [166] [166] [166] [166]"
130 print" [166] [166] [166] [166] [164]"
140 print" [164] [166] [166] [166][166][166][166][166] [164]_height (11 max)"
150 print" [164] .........................."
160 print" ^ [192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
170 print"margin[203] [167][167] [167][167]_spacing"
180 print" ^"
190 print" column"
200 print" width"
210 input"select height";sh
220 input"select column width";sw
230 printtab(15)sw
240 input"[145]select spacing";ss
250 printtab(14)int((80-sh*7)/2)
260 input"[145]select margin";sm
270 input"select symbol";p$(1)
280 print"[147] 0 of 255 charactors maximum"
290 printtab(13)"[164][164][164][164][164][164][164][164][164][164][164][164][164][164]"
300 printtab(6)"[192][192][192][192][192][192][192] type message [146][192][192][192][192][192][192][192]"
310 print" alphabet - numbers and ()*+-./"
320 printtab(6)"'inst del' for corrections"
330 printtab(6)"space bar for printing pause"
340 printtab(15)"[192][192][192][192][192][192][192][192][192][192]"
350 print"[175]"
360 d$="":p$(0)=" ":n=1:gosub 910
370 get g$:ifg$=""then 370
380 if g$=chr$(20)then 490
390 if g$=chr$(13)then 550
400 k=asc(g$):if k<40 and k<>32 or k>90 or k=44 or l=255 then 370
410 if len(m$(n))=38 then n=n+1:print"[157][157] "
420 m$(n)=m$(n)+g$:l=l+1
430 print" "l;d$
440 for d=1 to n
450 print
460 next d
470 print m$(n)+"[175]"
480 goto 370
490 if l=0 and n=1 then 280
500 m$(n)=left$(m$(n),len(m$(n))-1)
510 print"[145]"m$(n)+" ":l=l-1:ifl=0then280
520 if m$(n)=""then n=n-1
530 if n=0 then 410
540 goto 430
550 for i=1 to n
560 m$=m$+m$(i)
570 next i
580 close 4:open 4,4
590 for l=1 to len(m$)
600 n=(asc(mid$(m$,l,1))-39):n=n-((n=-7)*12)
610 f$=mid$(a$,n*5-4,5)
620 for j=0 to 4
630 b(j)=asc(mid$(f$,j+1))
640 b(j)=b(j)+(b(j)>96)*96+(b(j)<96)*32+((b(j)=255)*33)
650 next j
660 for c=0 to 4
670 for r=6 to 0 step-1
680 l(c,r)=int(b(c)/2^r)
690 b(c)=b(c)-l(c,r)*2^r
700 next r,c
710 print#4
720 for c=0 to 4
730 for w=1 to sw
740 for m=1 to sm
750 print#4," ";
760 next m
770 for r=0 to 6
780 for h=1 to sh
790 print#4,p$(l(c,r));
800 next h
810 getz$:ifz$=""then 830
820 getz$:ifz$=""then 820
830 next r
840 print#4
850 next w,c
860 for s=1 to ss
870 print#4
880 next s,l
890 close 4
900 goto63000
910 a$=" <b[161] [161]b<j<[223]<j((^(( ((((( ##"
915 a$=a$+" #$(0[192]^[165][169][177]^ a[223]! c[165][165][169]qb[161][169][169]v,4d[223]$"
920 a$=a$+"[210][177][177][177][190]>i[169][169][174]@[167][168][176][192]v[169][169][169]vq[169][169][170]\ h !f"
925 a$=a$+" (4b[161][161]44444[161][161]b4(@[160][165][168]p^[161][189][181]]_[168][168][168]_"
930 a$=a$+"[161][223][169][169]v^[161][161][161]b[161][223][161][161]^[223][169][169][169][161][223][168][168][168][160]^[161][161][169][174][223]((([223] [161][223][161] "
935 a$=a$+chr$(34)+"![161][255][160][223](4b[161]"
940 a$=a$+"[223]!!!![223]@8@[223][223]0($[223]^[161][161][161]^[223][168][168][168]p^[161][165][162]][223][168][172][170]qr[169][169][169]f[160][160][223][160][160][255]!!![255][208],#,[208][223]"
950 a$=a$+chr$(34)+","+chr$(34)+"[223][195]4(4[195][208](/([208][163][165][169][177][193]"
960 return
63000 rem connect back to loadstar
63010 print"[147]load"chr$(34)"payload"chr$(34)",8":print"run"
63020 poke631,13:poke632,13:poke198,2:end